package pl.asoft.nbp.dao;

import pl.asoft.nbp.model.Currency;

import java.util.List;

/**
 * Created by rbiedrawa on 2014-12-09.
 */

public interface CurrencyDAO {

    Currency save(Currency currency);
    Currency saveOrUpdate(Currency currency);

    Currency find(String shortCode);
    List<Currency> findAll();

    Currency update(Currency entity);

    void delete(String shortCode);

}
